package com.zjw.kaos.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (TransactionRecord)实体类
 *
 * @author makejava
 * @since 2024-04-24 08:45:54
 */
public class TransactionRecord implements Serializable {
    private static final long serialVersionUID = -74866650404358587L;
    
    private Integer id;
    
    private String cardno;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date transactionDate;
    
    private Integer amount;
    
    private Integer balance;
    
    private String transactionType;
    
    private String remark;

    @Override
    public String toString() {
        return "TransactionRecord{" +
                "id=" + id +
                ", cardno='" + cardno + '\'' +
                ", transactionDate=" + transactionDate +
                ", amount=" + amount +
                ", balance=" + balance +
                ", transactionType='" + transactionType + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCardno() {
        return cardno;
    }

    public void setCardno(String cardno) {
        this.cardno = cardno;
    }

    public Date getTransactionDate() {
        return transactionDate;
    }

    public void setTransactionDate(Date transactionDate) {
        this.transactionDate = transactionDate;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}

